<template>
  <div class="msg-container">
    <div class="msg-icon">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-tonggao1"></use>
      </svg>
    </div>
    <div class="msg-con">
      <div class="msg-title">系统通知</div>
      <div class="msg-content">
        <span>
          恭喜您已于2024-5-31 16:43:34注册成功,您的手机号为138****0000,请妥善保管您的账号密码。
        </span>
        <van-icon name="arrow" />
      </div>
      <div class="msg-time">1分钟前</div>
    </div>
  </div>
</template>
<script setup lang="ts">

</script>

<style scoped lang="less">
.msg-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 90%;
  background-color: #fff;
  margin: 20px auto;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0px 0px 5px #ccc;
  .msg-icon {
    font-size: 24px;
  }
  .msg-con {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    .msg-title {
      font-size: 14px;
      font-weight: bold;
    }
    .msg-content {
      font-size: 12px;
      width: 300px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      span {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: block;
      }
    }
    .msg-time {
      font-size: 12px;
      color: #ccc;
      margin-top: 5px;
    }
  }
}
</style>
